import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import ECharts from 'vue-echarts'
import 'element-plus/dist/index.css'
import VueDraggableResizable from 'vue-draggable-resizable'

import VueGridLayout from 'vue-grid-layout'
import {
  setDomFontSize
} from './utils/dom'
setDomFontSize()

const pinia = createPinia()
// ... data, methods, mounted (), etc.

createApp(App).use(router).use(ElementPlus).use(VueGridLayout).use(pinia).component('ECharts', ECharts).component("vue-draggable-resizable", VueDraggableResizable).mount('#app')
